<?php
/**
 * Class answers the question
 */
class Answer
{
	private $text = null;
	private $isCorrect = null;
	
	public function setText($text) 
	{ 
		$this->text = $text;
    } 
    
    public function getText() 
    { 
		return $this->text;
    } 
    
    public function setIsCorrect($isCorrect) 
    { 
		$this->isCorrect = $isCorrect;
    } 
    
	public function getIsCorrect() 
	{ 
		return $this->isCorrect;
    }
}